home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
INT2B.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
694b
|
30 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Int2B(nInteger, nPlaces) --> cBinString
PARAMETERS:
nInteger: integer value to convert to binary string
nPlaces : Number of binary places to return (1-8)
SHORT:
Convert integer to binary string
DESCRIPTION:
_Int2B() converts integer numerics to equivalent binary string representation.
NOTE:
EXAMPLE:
? _Int2B(13,4) // "1101"
? _Int2B(13,8) // "0001101"
******************************************************************************/